FROM atagcn/tomcat:8-alpine
MAINTAINER chendw <chendw@bsoft.com.cn>

ARG  NAMESPACE=bs-nethospital-wechat-alipay
ARG  APP_VERSION=3.2-wechat-SNAPSHOT
ARG  APP_NAME

COPY ops/docker/init.sh /script/init.sh
RUN  rm -rf /usr/local/tomcat/webapps/* && chmod +x /script/init.sh

COPY dist/  /usr/local/tomcat/webapps/wechat
CMD ["/script/init.sh"]
